package com.aharttogo.rpc.transport;

/**
 *
 * 1.启动，监听端口
 * 2.接收请求
 * 3.关闭监听
 * @author xiejialin
 * @date 2020/2/17 3:03 PM
 */
public interface TransportServer {

    void init(int port, RequestHandler handler);

    void start();

    void stop();

}
